﻿
@{
    ViewData["Title"] = "ARS 文件中转站";
    Layout = null;
}

<!DOCTYPE html>
<html lang="utf-8">
<head>
    <meta  http-equiv="Content-Type" content="text/html; charset=utf-8"  />
    <title>@ViewBag.Title</title>
    <link href="~/element-ui/index.css" rel="stylesheet" />
    <link href="~/css/main.css" rel="stylesheet" asp-append-version="true" />
    <script src="~/js/vue.min.js"></script>
    <script src="~/element-ui/index.js"></script>
    <script src="~/js/base.js" asp-append-version="true"></script>
    <script src="~/js/axios/axios.js"></script>
    <script src="~/js/vue-axios/vue-axios.min.js"></script>
    <style>
             /* This parent can be any width and height */
             .block {
                 text-align: center;
             }

                 /* The ghost, nudged to maintain perfect centering */
                 .block:before {
                     content: '';
                     display: inline-block;
                     height: 100%;
                     vertical-align: middle;
                     margin-right: -0.25em; /* Adjusts for spacing */
                 }

             /* The element to be centered, can
        also be of any width and height */
             .centered {
                 display: inline-block;
                 vertical-align: middle;
                 /*            width: 50%;*/
             }
    </style>
</head>
<body>

    <div id="pageContainer">

        <div class="block" style="height: 600px;">

            <div class="centered">
                <div style="text-align:left">

                    <el-row>
                        <el-alert title="注意保管好提取码"
                                  type="warning"
                                  description="该下载链已做两端多重交叉验证,请放心使用."
                                  :closable="false"
                                  show-icon>
                        </el-alert>
                    </el-row>
                    <el-row>
                        <strong>&emsp;文件名:&emsp;</strong><el-tag type="success">{{form.fileName}}</el-tag>
                    </el-row>

                    <el-row>
                        <strong>过期时间:&emsp;</strong><el-tag type="success">@(ViewBag.TimeDesc)</el-tag>
                    </el-row>
                    <el-row v-if="isDown">
                        <el-input v-model="form.vcode" placeholder="请输入文件提取码" style="width:60%"></el-input>   <el-button type="primary" @@click="downLoad" :loading="loading">下载文件</el-button>

                    </el-row>

                </div>

            </div>
        </div>
    </div>


    <!-- 引入组件库 -->

    <script type="text/javascript">
        var _vp = {
            ShowDown:@(ViewBag.ShowDown)
        };

    </script>
    <script src="~/js/arsfile.min.js"></script>
</body>
</html>



